Release 10.1A: OpenEdge Development:
Programming Interfaces
Portability issues
To ensure portability, avoid using the
INPUT THROUGHandOUTPUT THROUGHstatements. In place ofOUTPUT THROUGH, use theOUTPUT TOstatement with an escape to the operating system, as shown in the following example:
In this example, you send the data to
file1. Then you use the appropriate operating system statement to escape to the operating system. Once at the operating system level, you run the program against the data infile1.In place of
INPUT THROUGH, use an escape to the operating system with theINPUT FROMstatement, as shown in the following example:
First, you use the operating system statement to escape to the operating system. Once at the operating system level, you run a program to create the data in
file1. Then you use theINPUTFROMstatement to retrieve the data infile1.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |